package com.bonc.apicreator.swagger.action;

/**
 * 
 * swagger常量
 *
 * @author gaopengyu
 * @version 2016年9月29日
 * @see SwaggerConstant
 * @since
 */
public final class SwaggerConstant {
    /**
     * 请求类型 get
     */
    public static final String REQUESTTYPE_GET = "GET";
    /**
     * 请求类型 post
     */
    public static final String REQUESTTYPE_POST = "POST";
    /**
     * 请求类型 delete
     */
    public static final String REQUESTTYPE_DELETE = "DELETE";
    /**
     * 请求类型 put
     */
    public static final String REQUESTTYPE_PUT = "PUT";
    /**
     * 请求类型header
     */
    public static final String REQUESTTYPE_HEADER = "HEADER";
    /**
     * 请求类型 patch
     */
    public static final String REQUESTTYPE_PATCH = "PATCH";
    /**
     * 参数位置 body
     */
    public static final String LOCATION_BODY = "body";
    /**
     * 参数位置 cookie
     */
    public static final String LOCATION_COOKIE = "cookie";
    /**
     * 参数位置 formData
     */
    public static final String LOCATION_FORMDATA = "formData";
    /**
     * 参数位置 path
     */
    public static final String LOCATION_PATH = "path";
    /**
     * 参数位置query
     */
    public static final String LOCATION_QUERY = "query";
    /**
     * 参数位置header
     */
    public static final String LOCATION_HEADER = "header";
    /**
     * api请求类型string
     */
    public static final String APIREQUEST_STRING = "String";
    /**
     * api请求类型 int
     */
    public static final String APIREQUEST_INT = "int";
    /**
     * api请求类型 long
     */
    public static final String APIREQUEST_LONG = "long";
    /**
     * api请求类型 double
     */
    public static final String APIREQUEST_DOUBLE = "double";
    /**
     * api请求类型float
     */
    public static final String APIREQUEST_FLOAT = "float";
    /**
     * api请求类型decimal
     */
    public static final String APIREQUEST_DECIMAL = "decimal";
    /**
     * api响应返回值类型 list
     */
    public static final String APIRESPONSE_LIST = "list";
    /**
     * 响应正常状态码
     */
    
    public static final String  RESPONSE_NORMAL ="200";
    
}
